package cn.tedu.project.oa.asset.service;

import cn.tedu.project.oa.asset.pojo.dto.AssetQuery;
import cn.tedu.project.oa.asset.pojo.dto.AssetSaveParam;
import cn.tedu.project.oa.asset.pojo.vo.AssetVO;
import cn.tedu.project.oa.base.response.PageData;

import java.util.List;

public interface AssetService {
//    List<AssetVO> selectAsset(AssetQuery assetQuery);
    PageData selectAsset(AssetQuery assetQuery);

    void saveAsset(AssetSaveParam assetSaveParam);

    void deleteAsset(Long id,String code);

    void updateAssetByAssetCode(AssetSaveParam assetSaveParam);

    void deleteByAssetCode(String assetCode);

    void updateStockNum(Long id, Long checkNum);

    int count();
}
